package com.abc;

import com.abc.service.WarpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class SomeController {

    @Autowired
    private WarpService warpService;

    @RequestMapping(path = "/wapper", method = RequestMethod.GET)
    public String someHandler(){
        String word  = "ccc";
        return warpService.warp(word);
    }
}
